import request from '@/utils/request'

// 查询日出库量列表
export function listDayexit(query) {
  return request({
    url: '/statistic/dayexit/list',
    method: 'get',
    params: query
  })
}

// 查询日出库量详细
export function getDayexit(dayExitStatisticId) {
  return request({
    url: '/statistic/dayexit/' + dayExitStatisticId,
    method: 'get'
  })
}

// 新增日出库量
export function addDayexit(data) {
  return request({
    url: '/statistic/dayexit',
    method: 'post',
    data: data
  })
}

// 修改日出库量
export function updateDayexit(data) {
  return request({
    url: '/statistic/dayexit',
    method: 'put',
    data: data
  })
}

// 删除日出库量
export function delDayexit(dayExitStatisticId) {
  return request({
    url: '/statistic/dayexit/' + dayExitStatisticId,
    method: 'delete'
  })
}
